package com.ddwanglife.designmode.builderpattern;

public class HouseClient {
    public static void main(String[] args) {
        CommonHouse ch = new CommonHouse();
        HouseConstruct hc = new HouseConstruct(ch);
        House h =  hc.constructHouse();
        System.out.println(h.getBase());

//        HighHouse hh = new HighHouse();
//        hc.setHouseBuilder(hh);
//        House h2 = hc.constructHouse();
//        System.out.println(h2.getBase());
    }
}
